package com.bw.base.net

import dagger.Module
import dagger.Provides
import dagger.hilt.InstallIn
import dagger.hilt.components.SingletonComponent
import javax.inject.Singleton

@Module
@InstallIn(SingletonComponent::class)
class Provide {
    companion object{
        @Provides
        @Singleton
        fun getUrl():ApiURL=RetrofitUtils.retrofit.create(ApiURL::class.java)
    }
}